package com.zyj.eps.service;

import com.zyj.eps.pojo.BackHomeApply;
import com.zyj.eps.pojo.Inform;
import com.zyj.eps.pojo.News;
import com.zyj.eps.pojo.User;

import java.util.List;

/**
 * @author super
 * @date 2022/3/22 20:19
 */
public interface UserService {
    List<User> getAllUser();
    User Login(String uname,String password);
    int addUser(User user);
    int register(User user);
    User getUserByUUID(String UUID);
    int editUserInfo(User user);
    News getNews(int id);
    List<User> getAllUserByHealth();
    List<Inform> getInformByUserId(int uid);
    int addBackHomeApply(BackHomeApply backHomeApply);
}
